package com.guicelcc.guicedemo.poi;


import java.util.List;

/**
 * Hello world!
 *
 */
public class App 
{
    public static void main( String[] args )
    {
    
        String keyWords = "test2";
        //List<TestData> result = XlsReader.readFromXlsFile("/Users/ycp/gitproject/poi-demo/src/main/java/test.xls"|| keyWords);
        //DocWriter.writeToDoc("/Users/ycp/gitproject/poi-demo/src/main/java/anli.docx"|| result|| keyWords);
        
        //List<Test2Data> result = XlsReader.readFromXls2File("F:\\lccworkspace\\base2learn\\guiceDemo\\src\\main\\resources\\test2.xls", keyWords);
        //List<Test2Data> result = XlsReader.readFromXls2File("F:\\lccworkspace\\base2learn\\guiceDemo\\src\\main\\resources\\dai.xls", keyWords);
        //List<Test2Data> result = XlsReader.readFromXls2File("F:\\lccworkspace\\base2learn\\guiceDemo\\src\\main\\resources\\zhou.xls", keyWords);
        //List<Test2Data> result = XlsReader.readFromXls2File("F:\\lccworkspace\\base2learn\\guiceDemo\\src\\main\\resources\\shao.xls", keyWords);
        //List<Test2Data> result = XlsReader.readFromXls2File("F:\\lccworkspace\\base2learn\\guiceDemo\\src\\main\\resources\\shao.xls", keyWords);
        //最新
        //List<Test2Data> result = XlsReader.readFromXls2File("F:\\lccworkspace\\base2learn\\guiceDemo\\src\\main\\resources\\jing.xls", keyWords);
        //for (Test2Data data :result) {
        //	System.out.println(data.getS1()+"||"+data.getS2()+"||"+data.getS3()+"||"+data.getS4()+"||"+data.getS5()+"||"+data.getS6()+"||"+data.getS7()+"||"+data.getS8()+"||"+data.getS9());
        //}
       // DocReader.readToDoc("F:\\lccworkspace\\base2learn\\guiceDemo\\src\\main\\resources\\test.doc",0,result.get(0),"F:\\SHAO SHI NA\\work\\");
       //DocReader.readToDoc("F:\\lccworkspace\\base2learn\\guiceDemo\\src\\main\\resources\\test.doc",result,"F:\\SHAO SHI NA\\work2\\");
        //DocReader.readToDoc2("F:\\lccworkspace\\base2learn\\guiceDemo\\src\\main\\resources\\dai.doc",result,"F:\\SHAO SHI NA\\work2\\","Forms of Investment and Gift  Letters-DAIFANGQIN.doc");
       //DocReader.readToDoc2("F:\\lccworkspace\\base2learn\\guiceDemo\\src\\main\\resources\\zhou.doc",result,"F:\\SHAO SHI NA\\work3\\","Forms of Investment and Gift  Letters-ZHOUCHAO.doc");
       //DocReader.readToDoc2("F:\\lccworkspace\\base2learn\\guiceDemo\\src\\main\\resources\\shao.doc",result,"F:\\SHAO SHI NA\\work4\\","Forms of Investment and Gift  Letters-SHAOSHINA.doc");  
       
        //DocReader.readToDoc2("F:\\lccworkspace\\base2learn\\guiceDemo\\src\\main\\resources\\jing.doc",result,"F:\\SHAO SHI NA\\work5\\","Forms of Investment and Gift  Letters-JINWEIMIN.doc");  
       //将word转换成 pdf
      //Word2PDFUtil.wordPdf(strFileName,strFileName);
      //将单个word转换成 pdf
      //Word2PDFUtil.wordPdf("F:\\SHAO SHI NA\\work8\\1Jin Wei Min - Stock Purchase Agreement - Wenzhen Cai.doc","F:\\SHAO SHI NA\\work7\\");
      //将某个目录的word文档转pdf
        Word2PDFUtil.wordPdfFromPath("F:\\SHAO SHI NA\\work8\\","F:\\SHAO SHI NA\\work7\\");
    }
}
